package com.qiaofang.entity;

import com.qiaofang.common.model.BaseDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "tm_wxmsg_model")
public class WxMsgModel extends BaseDomain {

    @ApiModelProperty("微信模板消息id")
    @Column(name = "wx_modelmsg_id")
    private String wxModelMsgId;

    @ApiModelProperty("模板名称")
    @Column(name = "model_title")
    private String modelTitle;

    @ApiModelProperty("公司id")
    @Column(name = "company_id")
    private Long companyId;

    @ApiModelProperty("公众号id")
    @Column(name = "subscription_id")
    private Long subscriptionId;

    @ApiModelProperty("公司uuid")
    @Column(name = "company_uuid")
    private String companyUuid;

    @ApiModelProperty("启用状态，0:否,1:是")
    @Column(name = "enabled")
    private Integer enabled;

    @ApiModelProperty("消息类型，对应程序枚举值")
    @Column(name = "wx_model_type")
    private Integer wxModelType;

    @ApiModelProperty("是否删除，0:否，1:是")
    @Column(name = "del_flag")
    private Integer delFlag;

    @ApiModelProperty("")
    @Column(name = "system_id")
    private String systemId;
}
